<template>
  <div class="box">
    <div class="mask"></div>
    <h1>WELCOME</h1>
  </div>
</template>

<script>
export default {
  name: "myWelcome",
  methods: {},
};
</script>

<style lang ="less" scoped>
.box {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  .mask {
    position: absolute;
    left: 0;
    width: inherit;
    height: 92%;
    background: url("../assets/dl-login.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 1;
    animation: maskAni 1s forwards;
    transition: 0.2s;
  }

  h1 {
    font-size: 200px;
    color: white;
    caret-color: transparent;
    cursor: default;
    user-select: none;
    z-index: 2;
    transition: all 0.2s;
  }
}

.mask:hover {
  filter: blur(1px);
}
</style>